<%@ taglib prefix="s" uri="/struts-tags"%>
<h2>Administration des Applications</h2>

<s:form>
	<table class="form">
		<s:if test="creation" />
		<s:else>
			<s:hidden name="application.id"/>
		</s:else>
			
		<tr>
			<td>Nom de l'application : </td>
			<td><s:textfield label="Nom" name="application.nom" /> <span style="color: red;">*</span></td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td colspan="3">Description :</td>
		</tr>
		<tr>
			<td colspan="3"><s:textarea label="Description"
				name="application.description" rows="15" cols="100" /></td>
		</tr>
		<tr>
			<s:if test="creation">
			<td><s:submit action="enregistrerApplication" value="Enregistrer" /></td>
			</s:if>
			<s:else>
			<td><s:submit action="modifierApplication" value="Modifier" /></td>
			</s:else>
		</tr>
	</table>
</s:form>

